package com.hn658.base.message.notification.notify.dao;

import com.hn658.base.message.notification.notify.entity.NotificationEO;
import com.hn658.framework.dataaccess.mongo.IAbstractMongoDBDao;

import java.util.List;
import java.util.Map;

/**
 * Created by baihai on 2015/11/24.
 */
public interface INotifyMongoDBDao  extends IAbstractMongoDBDao<NotificationEO> {


    Long getCount(Map<String, Object> queryParam);

    List<NotificationEO> findByQueryMap(Map<String, Object> queryParam, int pageSize,
                                   int startIndex, String orderBy, boolean isAsc);

    void update(NotificationEO eo);

    Long getMaxId();

    NotificationEO findByNotifyId(String notifyId);

}
